<?php
/*
 * @ https://EasyToYou.eu - IonCube v11 Decoder Online
 * @ PHP 7.2 & 7.3
 * @ Decoder version: 1.1.6
 * @ Release: 10/08/2022
 */

// Decoded file for php version 71.
namespace AlibabaCloud\Client\Signature;

abstract class Signature
{
    public function roa($accessKeyId, $accessKeySecret, \GuzzleHttp\Psr7\Request $request)
    {
        $string = \AlibabaCloud\Client\Support\Sign::roaString($request);
        $signature = $this->sign($string, $accessKeySecret);
        return "acs " . $accessKeyId . ":" . $signature;
    }
    public function rpc($accessKeySecret, $method, array $parameters)
    {
        $string = \AlibabaCloud\Client\Support\Sign::rpcString($method, $parameters);
        return $this->sign($string, $accessKeySecret . "&");
    }
}

?>